#include "mainwindow.h"
#include "cnpipe_global.h"
#include "cnpipe_actions.h"
#include "cnpipe_interfaces_window.h"
#include "geometry/wsymesh.h"
#include "geometry/wsysphere.h"
#include "scene/wsyperspectivecamera.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    CNPIPE_interfaces_window window;

    //CNPIPE的总入口处
    CNPIPE_global *cg = new CNPIPE_global();
    //将CNPIPE的总入口处赋值给窗口对象
    window.setGlobalInterface(cg);
    window.show();

//    for (int i = 0; i < 48; i++){
//        int aValue = i, bValue = 12;
//        double rem = fmod(aValue, bValue);


//        qDebug() << "The remainder of " << aValue << " and " << bValue <<
//                    " is: " << rem;
//    }

    return a.exec();
}
